﻿using System;
using Abp.Domain.Entities.Auditing;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using FwProject.Core.Restaurant;
using FwProject.Core.Distribution;
using FwProject.Core.FactoryInfo;
using FwProject.Core.Car;
using Abp.AutoMapper;
using System.Collections.Generic;
using FwProject.Car.Dto;
using FwProject.Restaurant.Dto;
using Abp.Domain.Entities;

namespace FwProject.Distribution.Dto
{
   
    public class SelfRestaurantEnterDto : Entity<Guid>
    {  

        public string CarUserName { get; set; }

        public SelfRestaurantDetails SelfRestaurantDetailsList { get; set; }
        public DateTime CreationTime { get; set; }

    }
    
    public class SelfRestaurantDetails
    {
     
        /// <summary>
        /// 本次配送套数
        /// </summary>
        /// <value>The distributioncount.</value>
        [Display(Name = "配送箱数")]
        public int Distributioncount { get; set; } = 0;
        /// <summary>
        /// 回收
        /// </summary>
        /// <value>The recoverycount.</value>
        [Display(Name = "回收箱数")]
        public int Recoverycount { get; set; } = 0;

      
        /// <summary>
        /// 换货
        /// </summary>
        /// <value>The exchangegoodscount.</value>
        [Display(Name = "换货箱数")]
        public int Exchangegoodscount { get; set; } = 0;
        /// <summary>
        /// 折损
        /// </summary>
        /// <value>The damagecount.</value>
        [Display(Name = "折损套数")]
        public int Damagecount { get; set; } = 0;
        /// <summary>
        /// 赠送
        /// </summary>
        /// <value>The givecount.</value>
        [Display(Name = "赠送箱数")]
        public int Givecount { get; set; } = 0;
        
        /// <summary>
        /// 退箱
        /// </summary>
        /// <value>The backboxcount.</value>
        [Display(Name = "退回箱数")]
        public int Backboxcount { get; set; } = 0;
        /// <summary>
        /// 退数
        /// </summary>
        /// <value>The backnumbercount.</value>
        [Display(Name = "退回套数")]
        public int Backnumbercount { get; set; } = 0;


    }


}
